import http from "@/api";

import { PORT1 } from "@/api/config/servicePort";
 

//#region 获取 GTIN 的类别筛选列表
export const baseGtinLeftMenu = (data: Record<string, any>) =>
http.get(`${PORT1}/km/base-gtin/left-menu`, { ...data }, { loading: false });
//#endregion

//#region 获取 GTIN 高级搜索筛选项
export const baseGtinSearchItem = (data: Record<string, any>) =>
http.get(`${PORT1}/km/base-gtin/search-item`, { ...data }, { loading: false });
//#endregion

//#region 获取 GTIN 列表
export const baseGtinList = (data: Record<string, any>) =>
http.post(`${PORT1}/km/base-gtin/list`, { ...data }, { loading: false });
//#endregion
 
//#region 获取 GTIN 列表表头
export const baseGtinTableHeader = (data: Record<string, any>) =>
http.get(`${PORT1}/km/base-gtin/table-header`, { ...data }, { loading: false });
//#endregion
 